<%@page import="com.sebscape.sebcms.security.domain.User" %>
<%@ taglib uri="http://java.sun.com/jstl/core" prefix="c" %>
<div id="header">
	<div id="banner">
		<span id="banner_site_name"><a href="/" style="text-decoration:none;"><span style="color: rgb(0, 128, 0);">seb</span><span style="color: rgb(0, 0, 255);">CMS</span></a>
		</span>
		<span id="banner_links">
			<c:if test="${empty sebcms_current_user}"><a href="/security/loginForm">LOGIN</a></c:if>
			<c:if test="${!empty sebcms_current_user}"><a href="/security/logout">Logout</a>
				<% User user = (User)session.getAttribute("sebcms_current_user");
					if( user != null && user.isMemberOf("System Administrators") ){%>
						&nbsp;&nbsp;|&nbsp;&nbsp;<a href="/admin/home">Site Admin</a>
					<% } %>
			</c:if>
			&nbsp;&nbsp;|&nbsp;&nbsp;Contact&nbsp;US&nbsp;&nbsp;|&nbsp;&nbsp;Help
			<c:if test="${!empty sebcms_current_user}">
				<p id="welcome_message">Welcome, <b><c:out value="${sebcms_current_user.nickname}"/></b></p>
			</c:if>
			</span>
	</div>
	<div id="top_nav">Top Nav: <a href="<c:url value="/"/>">HOME</a> | <a href="<c:url value="/members/home"/>">Members Only</a></div>
</div>